import { createApp } from 'vue'
import axios from './request/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css';
import 'vant/es/toast/style';
import 'vant/es/dialog/style';
import "./assets/css/iconfont.css";
import "./assets/css/common.css";
import { Lazyload } from 'vant';

const app = createApp(App);
app.config.globalProperties.$http = axios;

app.use(Lazyload, {
    lazyComponent: true,
});//配置图片的懒加载

app.use(store);
app.use(router);
app.mount("#app");
